
import 'package:json_annotation/json_annotation.dart';

part 'leads_operation_report.g.dart';

@JsonSerializable()
class LeadsOperationReport {
  @JsonKey(defaultValue: "")
  String? title;
  @JsonKey(defaultValue: 0)
  int? shopNum;
  @JsonKey(defaultValue: 0)
  int? clueNum;
  @JsonKey(defaultValue: 0)
  int? validClueNum;
  @JsonKey(defaultValue: "")
  String? validRate;
  @JsonKey(defaultValue: 0)
  int? testDriveNum;
  @JsonKey(defaultValue: "")
  String? testDriveRate;
  @JsonKey(defaultValue: 0)
  int? orderNum;
  @JsonKey(defaultValue: 0)
  int? followOverdueNum;

  LeadsOperationReport({
    this.title,
    this.shopNum,
    this.clueNum,
    this.validClueNum,
    this.validRate,
    this.testDriveNum,
    this.testDriveRate,
    this.orderNum,
    this.followOverdueNum
  });

  factory LeadsOperationReport.fromJson(Map<String, dynamic> json) => _$LeadsOperationReportFromJson(json);

  Map<String,dynamic> toJson() => _$LeadsOperationReportToJson(this);
}